Post

Replies

Boosts

Views

Activity

Reply to Update SwiftUI View on NSManagedObject edit
Thanks DMG, I was also struggling with this issue using Core Data and also tried various things incl. the @ObservedObject way ... which as you've mentioned results in a crash when deleting the MO. Creating a separate "ViewModel"-Struct solved that issue and seems like a reasonable solution.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’20